<%@ page language="java" contentType="text/html;charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/core/taglibs2.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/core/adminTopMeta.jsp"%>



</head>

<body oncontextmenu="return false"><div class="loader"></div>

	<div class="row">
		<div class="col-md-12">
			<div class="panel">
				<div class="panel-heading text-primary">
					<h3 class="panel-title">
						<i class="fa fa-comments-o"></i> 留言列表 <span class="pull-right">
							<div class="btn-group code">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown"
									title="Classes used"> </a>

							</div> </span>
					</h3>
				</div>
				
				<!-- /panel body -->
			</div>
		</div>
		 
		<div class="col-md-12">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title  text-white" style="font-size: 17px;">
						留言列表
					</h3>
				</div>
				<div class="panel-body">
<form name="commitForm" id="commitForm" method="post" action="admin/info/messageList.shtml">
					<div class="table-responsive">
					<jodd:form scopes="request">
					 
					<table class="table table-bordered  table-striped  " id="example">
						<tr>
							<td  style="vertical-align:middle;">
								所属代理商：<input type="text" name="memberLoginName" id="memberLoginName"  />
							 	 
								状态：
							 	<select id="type" name="type" >
									<option value="">请选择</option>
									<option value="10">未处理</option>
									<option value="20">已处理</option>
								</select>
							 
								<button type="submit" class="btn btn-success ">
									查询
								</button>
							</td>
						</tr>
					</table>
		 			</jodd:form>
		 			</div>
		 			<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped display tab_center" id="example">
						<thead>
  
							<tr class="info">
								<th>留言编号</th>
								<th>留言标题</th>
								
								<th>当前状态</th>
		
								<th>提交时间</th>
								<th>留言代理商</th>
								 
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
					<c:forEach items="${pagination.pageList}"  var="o" >
							 
							<tr class="odd gradeX">
								 
								<td>${o.id}</td>

								<td style="width: 40%;">${o.title}</td>
		
								<td>
									<c:if test="${o.type=='10'}"><font color="red">未处理</font></c:if>
									<c:if test="${o.type=='20'}"><font color="blue">已处理</font></c:if>
								</td>
									
								<td>${o.operDate}</td>
								<td>${o.memberLoginName}</td>
								<td class=ap style="text-align: left;">
									 
									<a href="admin/info/messageShow.shtml?id=${o.id}"  class="btn btn-info btn-xs btn-info">
										<i class="fa fa-pencil"></i> 查看
									</a> 
									
								</td>
							</tr>
					</c:forEach>
							<tr>
								<td style="border: 0px;background: white;text-align: left;" colspan="6">
								 	<page:pageControl /> 
								</td>
							</tr>			 
						</tbody>
					
						 
					</table>
					
					</div>
					
</form>
				</div>
			</div>
			<!-- / Info Panel -->
			 
		</div>
		 
		<!-- /col-md-12 -->
	</div>
	<!--代码高亮end-->
	
	
	
</body>
</html>